﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true"
    CodeBehind="Index.aspx.cs" Inherits="Enterprise.UI.Web.Modules.Notice.Index" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <link rel="stylesheet" type="text/css" href="../../Styles/css/gridview.css" />
    <style type="text/css">
        .g_title
        {
            margin: 0 225px 10px 145px;
            text-align: center;
        }
        .g_title h1
        {
            color: #2A4564;
            display: inline-block;
            font-family: "Microsoft Yahei";
            font-size: 20px;
            line-height: 26px;
            text-align: center;
            width: 145px;
        }
        .week_title th
        {
            color: #BCC2CD;
            font-weight: normal;
            padding: 0 8px 4px;
            text-align: left;
        }
        .month_date_num
        {
            color: #888888;
            font-family: georgia;
            font-size: 18px;
        }
        .notice
        {
            font-size: 12px;
            z-index:9999;
        }
        .newNote
        {
            display: none;
            cursor: pointer;
            width: 100%;
        }
        .newNotefocus
        {
            background-color: #e4e4e4;
        }
        .arrow_l, .arrow_r
        {
            background: url("/Styles/_img/ico_calendar.png") no-repeat scroll 0 0 transparent;
            display: block;
            height: 9px;
            overflow: hidden;
            width: 8px;
        }
        .arrow_l
        {
            background-position: -64px 0;
        }
        .arrow_r
        {
            background-position: -96px 0;
        }
        a.btn_next, a.btn_pre
        {
            border: 1px solid transparent;
            display: inline-block;
            height: 18px;
            line-height: 18px;
            margin: 0 10px;
            position: relative;
            top: 3px;
            width: 20px;
        }
        a.btn_next:hover, a.btn_pre:hover
        {
            background: url("/Styles/_img/buttonbg.png") repeat-x scroll 0 -128px #DDDDDD;
            border: 1px solid #BEBEBE;
            border-radius: 3px 3px 3px 3px;
        }
        a.btn_next:active, a.btn_pre:active
        {
            background-position: 0 -160px;
        }
        a.btn_next .arrow_r, a.btn_pre .arrow_l
        {
            margin: 4px 0 0 6px;
        }
    </style>
    <script type="text/javascript" language="javascript">
        function fEvent(sType, oInput) {
            switch (sType) {
                case "focus":
                    oInput.isfocus = true;
                    oInput.style.backgroundColor = '#FFFFD8';
                case "mouseover":
                    oInput.style.borderColor = '#000';
                    break;
                case "blur":
                    oInput.isfocus = false;
                    oInput.style.backgroundColor = "";
                    break;
            }
        } 
    </script>
    <script type="text/javascript">
        $(function ($) {
            $(".weekday").focus(function () {
                var id = this.id + "li";
                $(".newNote").hide();
                $("#" + id).addClass("newNotefocus");
                $("#" + id).show();
            })
        });
    </script>
    <script language="javascript" type="text/javascript" src="/Manage/Common/js/lhgdialog/lhgdialog.min.js?skin=discuz"></script>
    <script type="text/javascript">
        //第二种普通函数式调用
        function opdg(stitle, surl) {
            $.dialog({ content: 'url:' + surl, cancelBtn: false, title: stitle, width: 650, height: 350 });
        }
    </script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainPH" runat="server">
    <div class="vDaohangtiaoHolder module">
        <div class="vDaohangtiao">
            <ul>
                <li class="first">
                    <a href="/index.aspx" title="首页">首页</a>
                </li>
                <li class="last">个人备忘
                </li>
            </ul>
        </div>
    </div>
    <Ent:HeadMenuWeb ID="HeadMenu1" runat="server">        
    </Ent:HeadMenuWeb>
    <div class="g_title">
        <a class="btn_pre" title="上一月" href="index.aspx?year=<%=year %>&month=<%=month %>&action=pre">
            <span class="arrow_l"></span></a>
        <h1>
            <%=year %>
            年
            <%=month %>月</h1>
        <a class="btn_next" title="下一月" href="index.aspx?year=<%=year %>&month=<%=month %>&action=next">
            <span class="arrow_r"></span></a>
    </div>
    <%=createCalendar() %>
</asp:Content>
